home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 17 / Hot Mix 17.iso / HM17_SGI / research / resource / xprinter / ppds / hpiip522.ps < prev    next >
Encoding:
PostScript Printer Description  |  1997-07-08  |  12.6 KB  |  374 lines

  1. *PPD-Adobe: "4.0"
  2. *% Adobe Systems PostScript(R) Printer Description File
  3. *% Copyright 1987-1992 Adobe Systems Incorporated. 
  4. *% All Rights Reserved. 
  5. *% Permission is granted for redistribution of this file as
  6. *% long as this copyright notice is intact and the contents
  7. *% of the file is not altered in any way from its original form.
  8. *% End of Copyright statement
  9. *FormatVersion: "4.0"
  10. *FileVersion: "2.1"
  11. *PCFileName: "HPIIP522.PPD"
  12. *LanguageVersion: English
  13. *Product: "(HP LaserJet IIP)"
  14. *PSVersion: "(52.2) 0"
  15. *ModelName: "HP LaserJet IIP PostScript Cartridge"
  16. *NickName: "HP LaserJet IIP PostScript Cartridge v52.2"
  17.  
  18. *% ==== Options and Constraints =====
  19. *OpenGroup: InstallableOptions/Options Installed
  20.  
  21. *OpenUI *Option1/Optional Lower Tray: Boolean
  22. *DefaultOption1: False
  23. *Option1 True/Installed: ""
  24. *Option1 False/Not Installed: ""
  25. *CloseUI: *Option1
  26.  
  27. *CloseGroup: InstallableOptions
  28.  
  29. *UIConstraints: *Option1 False *InputSlot Lower
  30.  
  31. *% General Information and Defaults ===============
  32. *FreeVM: "1923298"
  33. *LanguageLevel: "1"
  34. *ColorDevice: False
  35. *DefaultColorSpace: Gray
  36. *VariablePaperSize: False
  37. *FileSystem: False
  38. *Throughput: "4"
  39. *Password: "0"
  40. *ExitServer: "
  41.   count 0 eq {  % is the password on the stack?
  42.     true
  43.   }{
  44.     dup    % potential password
  45.     statusdict /checkpassword get exec not
  46.   } ifelse
  47.   {  %  if no password or not valid
  48.     (WARNING : Cannot perform the exitserver command.) =
  49.     (Password supplied is not valid.) =
  50.     (Please contact the author of this software.) = flush
  51.     quit
  52.   } if
  53.   serverdict /exitserver get exec
  54. "
  55. *End
  56. *Reset: "
  57.   count 0 eq {  % is the password on the stack?
  58.     true
  59.   }{
  60.     dup    % potential password
  61.     statusdict /checkpassword get exec not
  62.   } ifelse
  63.   {  %  if no password or not valid
  64.     (WARNING : Cannot reset printer.) =
  65.     (Password supplied is not valid.) =
  66.     (Please contact the author of this software.) = flush
  67.     quit
  68.   } if
  69.   serverdict /exitserver get exec
  70.   systemdict /quit get exec
  71.   (WARNING : Printer Reset Failed.) = flush
  72. "
  73. *End
  74.  
  75. *DefaultResolution: 300dpi
  76. *?Resolution: "
  77. save
  78.   initgraphics
  79.   0 0 moveto currentpoint matrix defaultmatrix transform
  80.   0 72 lineto currentpoint matrix defaultmatrix transform
  81.   3 -1 roll sub dup mul
  82.   3 1 roll exch sub dup mul
  83.   add sqrt round cvi
  84.   (          ) cvs print (dpi) = flush
  85. restore
  86. "
  87. *End
  88.  
  89. *% Halftone Information ===============
  90. *ScreenFreq: "60.0"
  91. *ScreenAngle: "45.0"
  92. *DefaultScreenProc: Dot
  93. *ScreenProc Dot: "
  94. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  95. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  96. "
  97. *End
  98. *ScreenProc Line: "{ pop }"
  99. *ScreenProc Ellipse: "
  100.   { dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }
  101. "
  102. *End
  103.  
  104. *DefaultTransfer: Null
  105. *Transfer Null: "{ }"
  106. *Transfer Null.Inverse: "{ 1 exch sub }"
  107.  
  108. *% Paper Handling ===================
  109. *% Use these entries to set paper size most of the time, unless there is
  110. *% specific reason to use PageRegion.
  111. *OpenUI *PageSize: PickOne
  112. *OrderDependency: 30 AnySetup *PageSize
  113. *DefaultPageSize: Letter
  114. *PageSize Letter: "statusdict /lettertray get exec"
  115. *PageSize Legal: "statusdict /legaltray get exec"
  116. *PageSize Executive: "statusdict /executivetray get exec"
  117. *PageSize A4: "statusdict /a4tray get exec"
  118. *PageSize Comm10/Comm #10 Envelope: "statusdict /com10envelopetray get exec"
  119. *PageSize Monarch/Monarch Envelope: "statusdict /monarcenvelopetray get exec"
  120. *PageSize DL/DL Envelope: "statusdict /dlenvelopetray get exec"
  121. *PageSize C5/C5 Envelope: "statusdict /c5envelopetray get exec"
  122. *?PageSize: "
  123. save
  124. 8 dict
  125.   dup /lettertray (Letter) put
  126.   dup /legaltray (Legal) put
  127.   dup /executivetray (Executive) put
  128.   dup /a4tray (A4) put
  129.   dup /com10envelopetray (Comm10) put
  130.   dup /monarcenvelopetray (Monarch) put
  131.   dup /dlenvelopetray (DL) put
  132.   dup /c5envelopetray (C5) put
  133.   statusdict /papersize get exec
  134.   3 1 roll  {get} stopped {(Unknown)}if
  135.   exch  not { print (.Transverse) }if
  136.   = flush
  137. restore
  138. "
  139. *End
  140. *CloseUI: *PageSize
  141.  
  142. *% These entries will set up the frame buffer. Usually used with manual feed.
  143. *OpenUI *PageRegion: PickOne
  144. *OrderDependency: 40 AnySetup *PageRegion
  145. *DefaultPageRegion: Letter
  146. *PageRegion Letter: "letter"
  147. *PageRegion Legal: "legal"
  148. *PageRegion Executive: "executivepage"
  149. *PageRegion A4: "a4"
  150. *PageRegion Comm10/Comm #10 Envelope: "com10envelope"
  151. *PageRegion Monarch/Monarch Envelope: "monarcenvelope"
  152. *PageRegion DL/DL Envelope: "dlenvelope"
  153. *PageRegion C5/C5 Envelope: "c5envelope"
  154. *CloseUI: *PageRegion
  155.  
  156. *% The following entries provide information about specific paper keywords.
  157. *DefaultImageableArea: Letter
  158. *ImageableArea Letter: "18 19 593 774 "
  159. *ImageableArea Legal: "18 19 593 990 "
  160. *ImageableArea Executive: "18 19 501 738 "
  161. *ImageableArea A4: "18 19 578 824 "
  162. *ImageableArea Comm10/Comm #10 Envelope: "18 19 278 666 "
  163. *ImageableArea Monarch/Monarch Envelope: "18 19 259 522 "
  164. *ImageableArea DL/DL Envelope: "18 19 294 605 "
  165. *ImageableArea C5/C5 Envelope: "18 19 440 630 "
  166. *?ImageableArea: "
  167. save
  168.   /cvp {(                ) cvs print ( ) print } bind def
  169.   /upperright {10000 mul floor 10000 div} bind def
  170.   /lowerleft {10000 mul ceiling 10000 div} bind def
  171.   newpath clippath pathbbox
  172.   4 -2 roll exch 2 {lowerleft cvp} repeat
  173.   exch 2 {upperright cvp} repeat flush
  174.  restore
  175. "
  176. *End
  177.  
  178. *% These provide the physical dimensions of the paper (by keyword)
  179. *DefaultPaperDimension: Letter
  180. *PaperDimension Letter: "612 792"
  181. *PaperDimension Legal: "612 1008"
  182. *PaperDimension Executive: "522 756"
  183. *PaperDimension A4: "595 842"
  184. *PaperDimension Comm10/Comm #10 Envelope: "297 684"
  185. *PaperDimension Monarch/Monarch Envelope: "279 540"
  186. *PaperDimension DL/DL Envelope: "312 624"
  187. *PaperDimension C5/C5 Envelope: "459 649"
  188.  
  189. *RequiresPageRegion All: True
  190. *LandscapeOrientation: Plus90
  191. *OpenUI *InputSlot: PickOne
  192. *OrderDependency: 20 AnySetup *InputSlot
  193. *DefaultInputSlot: Upper
  194. *InputSlot Upper: "0 statusdict /setpapertray get exec"
  195. *InputSlot Lower: "1 statusdict /setpapertray get exec"
  196. *?InputSlot: "
  197. save
  198.    [ (Upper) (Lower) ] statusdict /papertray get exec
  199.    {get exec} stopped { pop pop (Unknown)} if = flush
  200. restore
  201. "
  202. *End
  203. *CloseUI: *InputSlot
  204.  
  205. *OpenUI *ManualFeed: Boolean
  206. *OrderDependency: 20 AnySetup *ManualFeed
  207. *DefaultManualFeed: False
  208. *ManualFeed True: "statusdict /manualfeed true put"
  209. *ManualFeed False: "statusdict /manualfeed false put"
  210. *?ManualFeed: "
  211. save
  212.   statusdict /manualfeed get {(True)}{(False)}ifelse = flush
  213. restore
  214. "
  215. *End
  216. *CloseUI: *ManualFeed
  217.  
  218. *DefaultOutputOrder: Normal
  219.  
  220. *OpenUI *TraySwitch: Boolean
  221. *OrderDependency: 50 AnySetup *TraySwitch
  222. *DefaultTraySwitch: False
  223. *TraySwitch True: "true statusdict /settrayswitch get exec"
  224. *TraySwitch False: "false statusdict /settrayswitch get exec"
  225. *?TraySwitch: "
  226. save
  227.   statusdict /trayswitch get exec {(True)}{(False)}ifelse = flush
  228. restore
  229. "
  230. *End
  231. *CloseUI: *TraySwitch
  232.  
  233. *% Font Information =====================
  234. *DefaultFont: Courier
  235. *Font AvantGarde-Book: Standard "(001.002)" Standard ROM
  236. *Font AvantGarde-BookOblique: Standard "(001.002)" Standard ROM
  237. *Font AvantGarde-Demi: Standard "(001.003)" Standard ROM
  238. *Font AvantGarde-DemiOblique: Standard "(001.003)" Standard ROM
  239. *Font Bookman-Demi: Standard "(001.001)" Standard ROM
  240. *Font Bookman-DemiItalic: Standard "(001.001)" Standard ROM
  241. *Font Bookman-Light: Standard "(001.001)" Standard ROM
  242. *Font Bookman-LightItalic: Standard "(001.001)" Standard ROM
  243. *Font Courier: Standard "(002.002)" Standard ROM
  244. *Font Courier-Bold: Standard "(002.002)" Standard ROM
  245. *Font Courier-BoldOblique: Standard "(002.002)" Standard ROM
  246. *Font Courier-Oblique: Standard "(002.002)" Standard ROM
  247. *Font Helvetica: Standard "(001.002)" Standard ROM
  248. *Font Helvetica-Bold: Standard "(001.002)" Standard ROM
  249. *Font Helvetica-BoldOblique: Standard "(001.002)" Standard ROM
  250. *Font Helvetica-Narrow: Standard "(001.002)" Standard ROM
  251. *Font Helvetica-Narrow-Bold: Standard "(001.002)" Standard ROM
  252. *Font Helvetica-Narrow-BoldOblique: Standard "(001.002)" Standard ROM
  253. *Font Helvetica-Narrow-Oblique: Standard "(001.002)" Standard ROM
  254. *Font Helvetica-Oblique: Standard "(001.002)" Standard ROM
  255. *Font NewCenturySchlbk-Bold: Standard "(001.006)" Standard ROM
  256. *Font NewCenturySchlbk-BoldItalic: Standard "(001.004)" Standard ROM
  257. *Font NewCenturySchlbk-Italic: Standard "(001.003)" Standard ROM
  258. *Font NewCenturySchlbk-Roman: Standard "(001.004)" Standard ROM
  259. *Font Palatino-Bold: Standard "(001.002)" Standard ROM
  260. *Font Palatino-BoldItalic: Standard "(001.002)" Standard ROM
  261. *Font Palatino-Italic: Standard "(001.002)" Standard ROM
  262. *Font Palatino-Roman: Standard "(001.001)" Standard ROM
  263. *Font Symbol: Special "(001.003)" Special ROM
  264. *Font Times-Bold: Standard "(001.002)" Standard ROM
  265. *Font Times-BoldItalic: Standard "(001.004)" Standard ROM
  266. *Font Times-Italic: Standard "(001.002)" Standard ROM
  267. *Font Times-Roman: Standard "(001.002)" Standard ROM
  268. *Font ZapfChancery-MediumItalic: Standard "(001.003)" Standard ROM
  269. *Font ZapfDingbats: Special "(001.002)" Special ROM
  270. *?FontQuery: "
  271. save
  272.  /str 100 string dup 0 (fonts/) putinterval def
  273.  {
  274.    count 1 gt
  275.    {
  276.      exch dup str 6 94 getinterval cvs
  277.      (/) print print (:) print
  278.      FontDirectory exch known
  279.      {(Yes)}{(No)} ifelse =
  280.    }
  281.    {exit} ifelse
  282.  }bind loop
  283.  (*) = flush
  284. restore
  285. "
  286. *End
  287.  
  288. *?FontList: "
  289. save
  290.   FontDirectory { pop == } bind forall flush
  291.   (*) = flush
  292. restore
  293. "
  294. *End
  295.  
  296. *% Printer Messages (verbatim from printer):
  297. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  298. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  299. *Message: "\FontName\ not found, using Courier"
  300.  
  301. *% Status (format: %%[ status: <one of these> ]%% )
  302. *Status: "idle"
  303. *Status: "busy"
  304. *Status: "waiting"
  305. *Status: "printing"
  306. *Status: "PrinterError: Out Of Paper"
  307. *Status: "PrinterError: Cover Open"
  308. *Status: "PrinterError: Feed Manual"
  309. *Status: "PrinterError: Paper Jam"
  310. *Status: "PrinterError: Miscellaneous Error"
  311. *Status: "PrinterError: Fatal Error"
  312.  
  313. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  314. *Source: "serial9"
  315. *Source: "serial25"
  316. *Source: "AppleTalk"
  317. *Source: "Centronics"
  318.  
  319. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  320. *PrinterError: "Out Of Paper"
  321. *PrinterError: "Cover Open"
  322. *PrinterError: "Feed Manual"
  323. *PrinterError: "Paper Jam"
  324. *PrinterError: "Miscellaneous Error"
  325. *PrinterError: "Fatal Error"
  326.  
  327. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  328.  
  329. *% Color Separation Information =====================
  330.  
  331. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  332.  
  333. *InkName: ProcessBlack/Process Black
  334. *InkName: CustomColor/Custom Color
  335. *InkName: ProcessCyan/Process Cyan
  336. *InkName: ProcessMagenta/Process Magenta
  337. *InkName: ProcessYellow/Process Yellow
  338.  
  339. *%  For 60 lpi / 300 dpi  ===============================
  340.  
  341. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  342. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  343. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  344. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  345. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  346.  
  347. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  348. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  349. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  350. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  351. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  352.  
  353. *%  For 53 lpi / 300 dpi  ===============================
  354.  
  355. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  356. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  357. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  358. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  359. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  360.  
  361. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  362. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  363. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  364. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  365. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  366.  
  367. *% For "HP LaserJet IIP" version 52.2
  368. *% Produced by "BuildPPD.ps" version 3.0 edit 58
  369. *% Converted to meet 4.0 specification
  370. *% Last Edit Date: Sep 15 1992
  371. *% The byte count of this file should be exactly 012490 or 012863
  372. *% depending on the filesystem it resides in.
  373. *% end of PPD file for HP LaserJet IIP
  374.